import { IsNotEmpty, IsOptional, IsString } from 'class-validator';

export class CreateReportDto {
  @IsNotEmpty()
  @IsString()
  name: string;

  @IsNotEmpty()
  @IsString()
  type: string;

  @IsOptional()
  @IsString()
  description?: string;

  @IsNotEmpty()
  @IsString()
  format: string;

  @IsOptional()
  @IsString()
  generatedBy?: string;

  @IsOptional()
  parameters?: Record<string, any>;
} 